package com.cn.service.server.admin.Impl;

import com.cn.bean.vo.bc.UserJob;
import com.cn.mapper.dao.db1.admin.UserJobDao;
import com.cn.service.server.admin.UserJobServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserJobServerImpl implements UserJobServer {
    private final UserJobDao userJobDao;

    @Autowired(required = false)
    public UserJobServerImpl(UserJobDao userJobDao) {
        this.userJobDao = userJobDao;
    }

    @Override
    public List<UserJob> selectUserJob(int limit, int page, String jobName, String name, String username) {
        return userJobDao.selectUserJob(limit, page, jobName, name, username);
    }


}
